package com.lse_api.entity;

import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * api参数
 * </p>
 *
 * @author 祁雪
 * @since 2020-05-11
 */
public class ProjectApiParpam implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    private String id;

    /**
     * api ID
     */
    private Integer apiId;

    /**
     * 项目id
     */
    private Integer projectId;

    /**
     * 参数名称
     */
    private String paramName;

    /**
     * 参数类型 默认字符串
     */
    private String paramType;

    /**
     * 是否必须 1.是 0.否
     */
    private Integer isMust;

    /**
     * 参数备注
     */
    private String paramNote;

    /**
     * 创建日期
     */
    private Date createTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getApiId() {
        return apiId;
    }

    public void setApiId(Integer apiId) {
        this.apiId = apiId;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public String getParamType() {
        return paramType;
    }

    public void setParamType(String paramType) {
        this.paramType = paramType;
    }

    public Integer getIsMust() {
        return isMust;
    }

    public void setIsMust(Integer isMust) {
        this.isMust = isMust;
    }

    public String getParamNote() {
        return paramNote;
    }

    public void setParamNote(String paramNote) {
        this.paramNote = paramNote;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "ProjectApiParpam{" +
                "id=" + id +
                ", apiId=" + apiId +
                ", projectId=" + projectId +
                ", paramName=" + paramName +
                ", paramType=" + paramType +
                ", isMust=" + isMust +
                ", paramNote=" + paramNote +
                ", createTime=" + createTime +
                "}";
    }
}
